export const ENUM = {
  roleStatus: [
    {
      value: 1,
      label: "启用",
      type: "success"
    },
    {
      value: 0,
      label: "禁用",
      type: "warning"
    }
  ],
  // 板材所有顶级组织机构 (用于机构数过滤)
  // X32000000,中厚板卷厂,X
  // X38000000,宽厚板厂,X
  // X50000000,板材事业部,X
  // X66000000,中板厂,X
  // X84000000,金石材料厂,X
  orgTop: ["X32000000", "X38000000", "X50000000", "X66000000", "X84000000"],
  kpiFunction: [
    {
      value: 0,
      label: "成本",
      icon: require("../assets/kpi_icon/currency-rmb-circle.svg")
    },
    {
      value: 1,
      label: "产量",
      icon: require("../assets/kpi_icon/data-line.svg")
    },
    {
      value: 2,
      label: "效益",
      icon: require("../assets/kpi_icon/pie-chart.svg")
    },
    {
      value: 3,
      label: "设备",
      icon: require("../assets/kpi_icon/pie-chart.svg")
    },
    {
      value: 4,
      label: "研发",
      icon: require("../assets/kpi_icon/cpu.svg")
    },
    {
      value: 5,
      label: "质量",
      icon: require("../assets/kpi_icon/box.svg")
    },
    {
      value: 6,
      label: "营销",
      icon: require("../assets/kpi_icon/document.svg")
    },
    {
      value: 7,
      label: "安环",
      icon: require("../assets/kpi_icon/umbrella.svg")
    },
    {
      value: 8,
      label: "能源",
      icon: require("../assets/kpi_icon/odometer.svg")
    }
  ],
  factoryList: [
    {
      value: 0,
      label: "事业部"
    },
    {
      value: 1,
      label: "第一炼钢厂"
    },
    {
      value: 2,
      label: "中板厂"
    },
    {
      value: 3,
      label: "板卷厂"
    },
    {
      value: 4,
      label: "宽厚板厂"
    },
    {
      value: 5,
      label: "金石厂"
    },
    {
      value: 6,
      label: "金润厂"
    }
  ],
  levelList: [
    {
      value: 1,
      label: "一级"
    },
    {
      value: 2,
      label: "二级"
    },
    {
      value: 3,
      label: "三级"
    },
    {
      value: 4,
      label: "四级"
    },
    {
      value: 5,
      label: "五级"
    },
    {
      value: 6,
      label: "六级"
    }
  ],
  ruleType: [
    {
      value: 0,
      label: "预警规则"
    },
    {
      value: 1,
      label: "不预警规则"
    },
    {
      value: 2,
      label: "趋势预警规则"
    },
    {
      value: 3,
      label: "趋势预警不预警规则"
    }
  ],
  earlyWarningLogic: [
    {
      value: 0,
      label: "等于"
    },
    {
      value: 1,
      label: "小于"
    },
    {
      value: 2,
      label: "大于等于"
    },
    {
      value: 3,
      label: "小于等于"
    },
    {
      value: 4,
      label: "不等于"
    }
  ],
  earlyWarningRule: [
    {
      value: 0,
      label: "比较目标值"
    },
    {
      value: 1,
      label: "月时序对比"
    },
    {
      value: 2,
      label: "固定日期对比"
    },
    {
      value: 3,
      label: "次级指标个数"
    },
    {
      value: 4,
      label: "年时序对比"
    }
  ],
  targetGetType: [
    {
      value: 0,
      label: "关联其他KPI"
    },
    {
      value: 1,
      label: "关联月时序值"
    },
    {
      value: 2,
      label: "每月固定值"
    },
    {
      value: 3,
      label: "每次手动输入"
    },
    {
      value: 4,
      label: "关联年时序值"
    }
  ]
};
